package facade;

import facade.service.GroupData;
import facade.service.impl.GetAlipay;
import facade.service.impl.GetWebChat;

/**
 * 外观模式获取所有数据，为外界调用提供一个统一接口
 * 组合所有数据
 * @author ChangSir
 *
 */
public class GroupDataFacade {

	//获取阿里数据
	private GroupData alipay = new GetAlipay();
	private GroupData webchat = new GetWebChat();
	
	public void getAllData() {
		alipay.getData();
		webchat.getData();
	}
	
}